/*
 * @Description: jishupu-admin-template
 * @Author: 技术铺<jishupu@qq.com>
 * @Date: 2021-11-17
 */
const getters = {
  sidebar: state => state.app.sidebar,
  language: state => state.app.language,
  size: state => state.app.size,
  device: state => state.app.device,
  token: state => state.user.token,
  profile: state => state.user.profile,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  userPermissions: state => state.user.userPermissions,
  permissionRoutes: state => state.permission.routes,
  dictionaryConfig: state => state.dictionaryConfig.items,
  fileUploadConfig: state => state.fileUploadConfig,
  siteConfig: state => state.siteConfig
}
export default getters
